package com.example.entity;

import java.math.BigDecimal;
import java.util.Date;

public class increase {
    private String name;
    private BigDecimal price;
    private BigDecimal increaseAmount;
    private BigDecimal increasePercentage; // 字段名统一为 increasePercentage
    private Date date;

    public increase() {}

    public increase(String name, BigDecimal price, BigDecimal increaseAmount,
                    BigDecimal increasePercentage, Date date) {
        this.name = name;
        this.price = price;
        this.increaseAmount = increaseAmount;
        this.increasePercentage = increasePercentage;
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getIncreaseAmount() {
        return increaseAmount;
    }

    public void setIncreaseAmount(BigDecimal increaseAmount) {
        this.increaseAmount = increaseAmount;
    }

    public BigDecimal getIncreasePercentage() {
        return increasePercentage;
    }

    public void setIncreasePercentage(BigDecimal increasePercentage) {
        this.increasePercentage = increasePercentage;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}

